# CMAKE by Zhang bo.
# Time & Place: 2011, 3, 26, @ linux lab in xiyou.
# Just for our LHDFS project.

# This *ON* can let cmake procedure output into console.
# _So_that we can debug it.
SET(CMAKE_VERBOSE_MAKEFILE ON)
PROJECT(STORAGEUT)
CMAKE_MINIMUM_REQUIRED(VERSION 2.8)
# include these files for building.
INCLUDE_DIRECTORIES(
       /usr/include/glib-2.0 
       /usr/lib/glib-2.0/include 
       ../../include
)


LINK_DIRECTORIES(
       ../../../lib
       ../../../../lib
)

SET(SRCS test_init_hlfs.c)
SET(LIBRARIES glib-2.0
              hlfs)

ADD_EXECUTABLE(utest ${SRCS})
TARGET_LINK_LIBRARIES(utest ${LIBRARIES})


# -------------------------  Make Tools  ------------------------------#
